<script type="text/javascript" src="<?= base_url(); ?>assets/js/jquery-2.0.2.min.js"></script>
<script type="text/javascript" src="<?= base_url(); ?>assets/js/jquery.dataTables.min.js"></script>

<link rel="stylesheet" href="<?= base_url() ?>assets/css/basic_style.css" />
<link rel="stylesheet" href="<?= base_url() ?>assets/css/jquery.dataTables.min.css" />

<?php if($this->is_logged_in){ ?>
	<ul class="menu">
		<li><a href="<?= base_url() ?>">Home</a></li>
		<?php if($this->user_data['role'] == ROLE_PELAYAN){ ?>
			<li><a href="<?= base_url()."index.php/pelayan/antar_pesanan" ?>">Pesanan yang belum diantar</a></li>
		<?php } ?>
		<?php if($this->user_data['role'] == ROLE_KOKI){ ?>
			<li><a href="<?= base_url()."index.php/koki/paket_makanan" ?>">Paket Makanan</a></li>
		<?php } ?>
		<?php if($this->user_data['role'] == ROLE_KASIR){ ?>
			<li><a href="<?= base_url()."index.php/kasir/histori_pesanan" ?>">Histori Pesanan</a></li>
			<li><a href="<?= base_url()."index.php/kasir/laporan_keuangan" ?>">Laporan Keuangan</a></li>
		<?php } ?>
		<?php if($this->user_data['role'] == ROLE_PANTRY){ ?>
			<li><a href="<?= base_url()."index.php/pantry/pantau_kadaluarsa" ?>">Pantau Kadaluarsa</a></li>
		<?php } ?>
		<?php if($this->user_data['role'] == ROLE_CS){ ?>
			<li><a href="<?= base_url()."index.php/cs/isi_kuisioner" ?>">Isi Kuisioner</a></li>
		<?php } ?>	
		<li><a href="<?= base_url()."index.php/site/logout" ?>">Logout</a></li>
	</ul>
	
	<div style="text-align: right">Hello, <b><?=$this->user_data['username']?></b></div>
	
	<hr/>
<?php } ?>